<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog ms-modal-dialog">
  <div class="modal-content" style="width: 700px;">
     
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">查询数据&nbsp;-&nbsp;详细查询</h4>
    </div>
    <div class="modal-body">
      <form class="form-horizontal ms-form modal-search-form" role="form" method="POST" action="${ctx.host}/example-koala-modal-search" data-validate="true">
        
        <div class="form-group ms-form-group">
          <label class="col-xs-3 control-label"><span class="color-red">*</span>用户名：</label>
          <div class="col-xs-7">
            <input type="text" name="name" class="form-control" placeholder="用户名" value="${principal.name}" data-validate="required">
          </div>
        </div>
        <div class="form-group ms-form-group">
          <label class="col-xs-3 control-label"><span class="color-red">*</span>手机号码：</label>
          <div class="col-xs-7">
            <input type="text" name="mobile" class="form-control" placeholder="手机号码" value="${principal.mobile}" data-validate="required|mobile">
          </div>
        </div>
        
        <div class="form-group ms-form-group">
          <div class="col-xs-6 col-xs-offset-3">
            <div class="col-xs-6">
              <button type="reset" class="btn btn-block btn-default" name='reset'>重置</button>
            </div>
            <div class="col-xs-6">
              <button type="submit" class="btn btn-block btn-primary">查询</button>
            </div>
          </div>
        </div>
        

      </form>
    </div>
    <div class="modal-footer">
      <button type="button" class="btn ms-btn ms-btn-gary" data-dismiss="modal">关闭</button>
    </div>
  </div>

</div>
